<template>
  <div class="topo-fullscreen uni-scroll app-container">
    <TopoRender :config-data="configData" style="margin: 0 auto" />
  </div>
</template>

<script>

import TopoRender from '@/topo/components/topo/TopoRender'

export default {
  name: 'TopoFullscreen',
  components: {
    TopoRender
  },
  data() {
    return {
      configData: {}
    }
  },
  created() {

  },
  mounted() {
    // 这里只是纯前端项目，实际应该从后台拿取数据
    var temp = localStorage.getItem('topoData')
    this.configData = JSON.parse(temp)
  },
  methods: {

  }
}
</script>

<style lang="scss">
    .topo-fullscreen {
        height: calc(100vh - 100px);
        width: 100%;
    }
</style>

